package com.twetec.cms.model.po.website;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * @author wgj
 * @since 2022-02-21
 */
@TableName("COLUMN_REFERENCE_ARTICLE")
public class ColumnReferenceArticlePO {

    private static final long serialVersionUID=1L;

    /**
     * ID
     */
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 当前栏目ID
     */
    @TableField("CURRENT_COLUMN_ID")
    private Long currentColumnId;

    /**
     * 引用的栏目ID
     */
    @TableField("REFERENCE_COLUMN_ID")
    private Long referenceColumnId;

    /**
     * 被引用的栏目文章ID
     */
    @TableField("REFERENCE_ARTICLE_ID")
    private Long referenceArticleId;

    /**
     * 被引用的栏目文章状态
     */
    @TableField("REFERENCE_ARTICLE_STATUS")
    private String referenceArticleStatus;

    /**
     * 审核原因
     */
    @TableField("VERIFY_REASON")
    private String verifyReason;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getCurrentColumnId() {
        return currentColumnId;
    }

    public void setCurrentColumnId(Long currentColumnId) {
        this.currentColumnId = currentColumnId;
    }

    public Long getReferenceColumnId() {
        return referenceColumnId;
    }

    public void setReferenceColumnId(Long referenceColumnId) {
        this.referenceColumnId = referenceColumnId;
    }

    public Long getReferenceArticleId() {
        return referenceArticleId;
    }

    public void setReferenceArticleId(Long referenceArticleId) {
        this.referenceArticleId = referenceArticleId;
    }

    public String getReferenceArticleStatus() {
        return referenceArticleStatus;
    }

    public void setReferenceArticleStatus(String referenceArticleStatus) {
        this.referenceArticleStatus = referenceArticleStatus;
    }

    public String getVerifyReason() {
        return verifyReason;
    }

    public void setVerifyReason(String verifyReason) {
        this.verifyReason = verifyReason;
    }

    @Override
    public String toString() {
        return "ColumnReferenceArticlePO{" +
                "id=" + id +
                ", currentColumnId=" + currentColumnId +
                ", referenceColumnId=" + referenceColumnId +
                ", referenceArticleId=" + referenceArticleId +
                ", referenceArticleStatus='" + referenceArticleStatus + '\'' +
                ", verifyReason='" + verifyReason + '\'' +
                '}';
    }
}
